﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="SiteRegister.aspx.cs" Inherits="E_Shop.SiteRegister" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2
        {
            width: 8px;
            height: 7px;
        }
        .style3
        {
            width: 192px;
            height: 36px;
        }
        .style4
        {
            height: 36px;
        }
        .style5
        {
            width: 192px;
            height: 37px;
        }
        .style6
        {
            height: 37px;
        }
        .style7
        {
            width: 192px;
            height: 33px;
        }
        .style8
        {
            height: 33px;
        }
        .style9
        {
            width: 192px;
            height: 39px;
        }
        .style10
        {
            height: 39px;
        }
        .style11
        {
            width: 192px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="stuff" style="width: 798px; min-height: 600px">
        <!--curTitle-->
        <div class="blue-left">
            Enter Your Account Information</div>
        <div class="blue-right">
            <a class="close-blue">
                <img src="Images/Shared/icon_close_blue.gif" alt=""></a>
        </div>
        <br>
        <!--//curTitle end-->
        <table style="width: 100%; float: left;">
            <tr>
                <td class="style3">
                    <img alt="" class="style2" src="http://localhost:2460/Images/Shared/icon_mandatory.gif" />&nbsp;Login
                    Name&nbsp; :
                </td>
                <td class="style4">
                    &nbsp;
                    <asp:TextBox ID="txtloginname" runat="server" class="inp-form"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="input" runat="server" ControlToValidate="txtloginname"
                        ErrorMessage="Input Longin Name" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    <img alt="" class="style2" src="http://localhost:2460/Images/Shared/icon_mandatory.gif" />
                    PassWord&nbsp; :
                </td>
                <td class="style6">
                    &nbsp;
                    <asp:TextBox ID="txtpass" runat="server" class="inp-form" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="repass" runat="server" ControlToValidate="txtpass"
                        Display="Dynamic" ErrorMessage="Pass Cannot Empty"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="repass2" runat="server" ControlToValidate="txtpass"
                        Display="Dynamic" ErrorMessage="Pass not Invalid" ValidationExpression="^[a-zA-Z0-9'@&amp;#.\s]{7,10}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    <img alt="" class="style2" src="http://localhost:2460/Images/Shared/icon_mandatory.gif" />&nbsp;Confirm
                    Password&nbsp; :
                </td>
                <td class="style6">
                    &nbsp;
                    <asp:TextBox ID="txtpasscomfirm" runat="server" class="inp-form" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rerepass" runat="server" ControlToValidate="txtpasscomfirm"
                        Display="Dynamic" ErrorMessage="Cannot Empty"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtpass"
                        ControlToValidate="txtpasscomfirm" Display="Dynamic" ErrorMessage="Reinput Password not valid"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td class="style7">
                    <img alt="" class="style2" src="http://localhost:2460/Images/Shared/icon_mandatory.gif" />&nbsp;Job
                    Title&nbsp; :
                </td>
                <td class="style8">
                    &nbsp;
                    <asp:TextBox ID="txtJob" runat="server" class="inp-form" Height="30px" 
                        Width="195px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtJob"
                        Display="Dynamic" ErrorMessage="Cannot Empty"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    <img alt="" class="style2" src="http://localhost:2460/Images/Shared/icon_mandatory.gif" />&nbsp;
                    Email&nbsp; :
                </td>
                <td class="style6">
                    &nbsp;
                    <asp:TextBox ID="txtEmail" runat="server" class="inp-form" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmail"
                        Display="Dynamic" ErrorMessage="Email Cannot Empty"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                        Display="Dynamic" ErrorMessage="Email Not Valid" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style9">
                    <img alt="" class="style2" src="http://localhost:2460/Images/Shared/icon_mandatory.gif" />&nbsp;
                    Phone&nbsp; :
                </td>
                <td class="style10">
                    &nbsp;
                    <asp:TextBox ID="txtPhone" runat="server" class="inp-form" Height="31px" 
                        Width="190px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPhone"
                        Display="Dynamic" ErrorMessage="Phone Cannot Empty"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp; Contact Address
                </td>
                <td>
                    &nbsp;
                    <asp:TextBox ID="txtcontactaddress" runat="server" class="inp-form" Height="33px"
                        Width="190px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style11">
                    <img alt="" class="style2" src="http://localhost:2460/Images/Shared/icon_mandatory.gif" />&nbsp;
                    Region&nbsp; :&nbsp;&nbsp;
                </td>
                <td>
                    &nbsp;
                    <asp:DropDownList ID="ddlregion" runat="server" Style="width: 200px; padding: 3px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td style="padding-left: 30px">
                    <asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" class="form-submit" />
                </td>
            </tr>
        </table>
        <div class="win_box clearfx">
            <h4>
                Member Benefits</h4>
            <dl class="info_dl">
                <dt>Promote your products around the world!</dt>
                <dd class="ls_check">
                    Get your own website For Free
                </dd>
                <dd class="ls_check">
                    Receive Buyers' &amp; Suppliers' inquiries from all over the world</dd>
                <dd class="ls_check">
                    Communicate with trade partners in real-time
                </dd>
                <dd class="ls_check">
                    Stay tuned with email update
                </dd>
            </dl>
            <p class="txt_r">
                <a href="http://www.ecplaza.net/asp/service/member_free.asp" class="btn_box_more">more
                    info</a></p>
        </div>
    </div>
</asp:Content>
